﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Runtime.Serialization;
namespace JSIF_WCFServer.Model
{
    /// <summary>
    /// Represents the author of a book
    /// </summary>
    [DataContract]
    public class Author
    {
        /// <summary>
        /// The author's name
        /// </summary>
        [DataMember]
        public String Name { get; set; }

        /// <summary>
        /// The author's website (if any)
        /// </summary>
        [DataMember]
        public String WebSite { get; set; }

        /// <summary>
        /// The author's email address (if any)
        /// </summary>
        [DataMember]
        public String Email { get; set; }

        /// <summary>
        /// A url to the authors photo (if any)
        /// </summary>
        [DataMember]
        public String PhotoUrl { get; set; }
    }
}
